import { createApp } from 'vue'
import App from './App.vue'
import '@/style/reset.scss'
import AnbusafetyTop from '@/components/Anbusafety_top.vue'
import AnbusafetyBottom from '@/components/Anbusafety_bottom.vue'
import ButtomContract from '@/components/Buttom_contract.vue'
import ContractUs from '@/components/Contract_us.vue'
import banner from './components/banner.vue'
import banner2 from './components/banner2.vue'
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
import router from './router'
const app = createApp(App);
app.component('AnbusafetyTop', AnbusafetyTop);
app.component('AnbusafetyBottom', AnbusafetyBottom);
app.component('ButtomContract', ButtomContract);
app.component('ContractUs', ContractUs);
app.component('Banner', banner);
app.component('Banner2', banner2);
app.use(ElementPlus);
app.use(router);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')
